ListBox.ColumnType

Sets the type for the passed column. The first column is numbered zero.

Syntax

ColumnType( columnNumber ) as Integer


Parameters

columnNumber

Integer


Notes

Use the following class constants to set the ColumnType:

TypeDefault (0): Default, same as column type

TypeNormal (1): Normal

TypeCheckBox (2): Add checkbox

TypeEditable (3): Inline editable

For example:

lb1.ColumnType(1)=ListBox.TypeEditable

(Disclosure triangles don't work in hierarchical ListBoxes if Inline Editable is selected.)

ColumnType can be overridden by CellType.